/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "排版管理",TableName = "Workforce")]
    public partial class Workforce:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Year")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Year { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Month")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Month { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Stage")]
       [MaxLength(3)]
       [Column(TypeName="varchar(3)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Stage { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="NurseCode")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string NurseCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="NurseName")]
       [MaxLength(20)]
       [Column(TypeName="char(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string NurseName { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="WorkDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime WorkDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="WorkWeek")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime WorkWeek { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ClassGroup")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string ClassGroup { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Creator")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Creator { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateTime")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime CreateTime { get; set; }

       
    }
}